#ifndef PREFERENCES_UI_BASE_INCLUDED
#define PREFERENCES_UI_BASE_INCLUDED

#include <string>
#include "shared\typedefs.h"

class PreferencesUiBase
{
public:
	PreferencesUiBase() {}
	virtual ~PreferencesUiBase() {}

	virtual const char *getVersion() = 0;

	//virtual HWND createDialog( IN const char *pszSheet,
	//							HWND ParentWindow ) = 0;

	//virtual bool setPreferences( IN const char *pszSheet,
	//							 IN const char *pszPreferences ) { return true; }

	virtual bool getPreferences( IN const char *pszSheet,
								 INOUT std::string &strPreferences ) { return true; }

	virtual bool onActivate( IN const char *pszSheet ) { return true; }

	virtual bool onHide( IN const char *pszSheet ) { return true; }
};

#endif // PREFERENCES_UI_BASE_INCLUDED